[TOOLS] Uncompress and allocate memory for gzipped kernel and initrd images on
authorIan Campbell <ian.campbell@xensource.com>
Thu, 26 Oct 2006 15:56:16 +0000 (16:56 +0100)
committerIan Campbell <ian.campbell@xensource.com>
Thu, 26 Oct 2006 15:56:16 +0000 (16:56 +0100)
commit1459957f98d243d64d6f1f76d2a91cd26a9d7202
tree65ca2820cababd0c64b12e2b90b09132c2be4ecf
parent53132173d5bfbe48b369968bd198cbc72b3fbd2b
[TOOLS] Uncompress and allocate memory for gzipped kernel and initrd images on
the fly. We cannot rely on the length contained in the gzip trailer to determine
the length of the decompressed data because images have been observed which have
trailing junk.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
tools/libxc/xc_linux_build.c
tools/libxc/xc_private.c
tools/libxc/xg_private.c
tools/libxc/xg_private.h